package com.itcaius.weblog.web.convert;

import com.itcaius.weblog.common.domain.dos.BlogSettingsDO;
import com.itcaius.weblog.web.model.vo.blogsettings.FindBlogSettingDetailRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Caius
 * @description
 * @since Created in 2025-04-30
 */
@Mapper
public interface BlogSettingsConvert {

    /**
     *创建 BlogSettingsConvert 实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    /**
     * 将 DO 转化为 VO
     * @param bean
     * @return
     */
    FindBlogSettingDetailRspVO convertDO2VO(BlogSettingsDO bean);
}
